package cn.drenal.common;

public class Constants
{
    public static final int LVL_USR_ADMIN = 0;
    public static final int LVL_USR_COMMON = 1;

    public static final String DATABASE_NAME = "petstore";
    public static final String DATABASE_USERNAME = "root";
    public static final String DATABASE_PASSWORD = "root";
    public static final String DATABASE_DRIVER = "com.mysql.cj.jdbc.Driver";
    public static final String DATABASE_URL = "jdbc:mysql://localhost:3306/" + DATABASE_NAME + "?serverTimezone=UTC";

    public static final String NUM_TEXT = "编号";
    public static final String TYPE_TEXT = "种类";
    public static final String BREED_TEXT = "品种";
    public static final String PRICE_TEXT = "单价";
    public static final String QUANTITY_TEXT = "数量";
    public static final String USERNAME_TEXT = "用户名";
    public static final String PASSWORD_TEXT = "密码";
    public static final String ADMIN_TOKEN_TEXT = "管理员标识";
    public static final String PASSWORD_CONFIRM_TEXT = "确认密码";

    public static final String TOKEN = "hehehello";
}